class CreateValleyers < ActiveRecord::Migration
  def self.up
    create_table :valleyers do |t|
      t.string :nick_name
      t.string :password
      t.string :personal_key
      t.string :sex, :default => 'unknown'
      t.date :birthday
      t.string :constellation
      t.string :hometown
      t.string :seat
      t.string :company
      t.string :end_year
      t.string :start_year
      t.string :description
      t.string :email
      t.timestamps
    end
  end

  def self.down
    drop_table :valleyers
  end
end
